package com.docted.seckill.dto;

import com.docted.seckill.entity.Seckill;
import com.docted.seckill.entity.SuccessKilled;

/**
 * Created by DoCted on 2017/5/24
 * Description:
 * 秒杀执行后的结果
 */
public class SeckillExecution {
    private long seckillId;

    //秒杀结果装填
    private int status;
    private String statusInfo;
    private SuccessKilled successKilled;

    public SeckillExecution(long seckillId, int status, String statusInfo, SuccessKilled successKilled) {
        this.seckillId = seckillId;
        this.status = status;
        this.statusInfo = statusInfo;
        this.successKilled = successKilled;
    }

    public SeckillExecution(long seckillId, int status, String statusInfo) {
        this.seckillId = seckillId;
        this.status = status;
        this.statusInfo = statusInfo;
    }

    public SeckillExecution(long seckillId, String statusInfo) {
        this.seckillId = seckillId;
        this.statusInfo = statusInfo;
    }

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStatusInfo() {
        return statusInfo;
    }

    public void setStatusInfo(String statusInfo) {
        this.statusInfo = statusInfo;
    }

    public SuccessKilled getSuccessKilled() {
        return successKilled;
    }

    public void setSuccessKilled(SuccessKilled successKilled) {
        this.successKilled = successKilled;
    }
}
